vpmu_core2: support newer processors
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 22 Sep 2009 07:06:14 +0000 (08:06 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 22 Sep 2009 07:06:14 +0000 (08:06 +0100)
commitd189c54b3d4dbeb3562230d664b006908b4dfba0
treead1ca08d6f9e50298f6df9e30ac089f00c59d2ea
parenta17dcb381825c39ba5f92f1a1afd55dce3ca1da4
vpmu_core2: support newer processors

Add code to get fully virtualized performance counters with newer
processors (which I'am able to test!) The most stuff is to check for
reserved bits in the control and counter register.

Signed-off-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
xen/arch/x86/hvm/vmx/vpmu.c
xen/arch/x86/hvm/vmx/vpmu_core2.c